package com.smfx.yxt.daoSqlserver;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.smfx.yxt.model.SchoolPropertyGoodsStockDetail;
import com.smfx.yxt.page.Page;
import com.smfx.yxt.reqVo.SchoolPropertyGoodsStockDetailQueryVo;

public interface SchoolPropertyGoodsStockDetailMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SchoolPropertyGoodsStockDetail record);

    int insertSelective(SchoolPropertyGoodsStockDetail record);

    SchoolPropertyGoodsStockDetail selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SchoolPropertyGoodsStockDetail record);

    int updateByPrimaryKey(SchoolPropertyGoodsStockDetail record);
    
    List<SchoolPropertyGoodsStockDetail> selectByPage(Page<SchoolPropertyGoodsStockDetail> page);

	List<SchoolPropertyGoodsStockDetail> selectStockDetailByPage(Page<SchoolPropertyGoodsStockDetail> page);
	/**
	 * 更新物品状态
	 * */
	void updateStateByOutputId(@Param("state")Integer i, @Param("id") Integer id);

	List<SchoolPropertyGoodsStockDetail> selectStockDetailByParams(SchoolPropertyGoodsStockDetailQueryVo vo);
}